package com.demo.service;

import com.demo.common.model.Airroute;
import com.demo.common.model.Code;
import com.demo.dao.AirrouteDao;
import com.demo.dao.CodeDao;
import com.jfinal.aop.Inject;

import java.util.List;

public class CodeService {

    @Inject
    CodeDao dao;

    public List<Code> findByCategory(String category) {
        return dao.findByCategory(category);
    }
}
